import {ajax,BASE_URL,Method} from '../axios_config'

export const  updateUserInfo=({nick})=>ajax(BASE_URL + '/user/updateUserInfo',{nick},Method.POST)

export const  changePassword=({oldPass,newPass})=>ajax(BASE_URL + '/user/changePassword',{oldPass,newPass},Method.POST)
